
# base image

FROM centos:7.5.1804

MAINTAINER ystlong@163.com

RUN find /etc/yum.repos.d -type f -exec sed -i 's|mirrorlist|#mirrorlist|g' {} \;
RUN find /etc/yum.repos.d -type f -exec sed -i 's|mirror.centos.org|mirrors.ustc.edu.cn|g' {} \;
RUN find /etc/yum.repos.d -type f -exec sed -i 's|#baseurl|baseurl|g' {} \;

# centos 6.x
# RUN yum groupinstall -y "GNOME Desktop" fonts
RUN yum groupinstall -y "KDE Plasma Workspaces"
RUN yum install -y net-tools tigervnc-server
RUN yum install -y redhat-lsb.x86_64 redhat-lsb.i686

WORKDIR /root

